package states.gameplay.shapors;

import org.newdawn.slick.Graphics;
import org.newdawn.slick.Image;

public class HeavyDefender extends Defender {

	private Image _render;
		
	public HeavyDefender(int deployLimits, 
						 int cost, 
						 int deployPulses, 
						 int energyUpkeep,
						 int attackRadius,
						 Image render) {
		super(deployLimits, cost, deployPulses, energyUpkeep, attackRadius, 2000);
		
		_render = render;
	}

	@Override
	public void render(Graphics g, int x, int y) {
		//(render.getWidth()+cell_size)/2, startY + y * cell_size - (render.getHeight() + cell_size)/2
		_render.draw(x - (_render.getWidth())/2, y - (_render.getHeight())/2);
	}

}
